﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MESMian.Test
{
    public partial class DetailBase : Form
    {

        public int primaryId = 0;
        public DetailBase()
        {
            InitializeComponent();
        }

        public DetailBase(int primaryId)
        {
            InitializeComponent();
            this.primaryId = primaryId;
            btnClose.Click += BtnClose_Click;
        }

        private void BtnClose_Click(object? sender, EventArgs e)
        {
            Close();
        }
    }
}
